package req

import (
	"gitee.com/zaiqiang231/zcamp-service-user/app/model"
	"gitee.com/zaiqiang231/zcamp-service-user/app/model/meta"
)

type UserCreateReq struct {
	model.User
	ReqImages   []meta.PictureObj `json:"req_images" gorm:"-"`   // 图集
	ReqPassword string            `json:"req_password" gorm:"-"` // 密码
}

type UserUpdateReq struct {
	model.User
	ReqImages   []meta.PictureObj `json:"req_images" gorm:"-"`   // 图集
	ReqPassword string            `json:"req_password" gorm:"-"` // 密码
}

type UserListReq struct {
	model.User
	PageInfo
}

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type SmsCodeRequest struct {
	Phone string `json:"phone"`
}

type PhoneLoginRequest struct {
	Phone   string `json:"phone"`
	SmsCode string `json:"sms_code"`
}

type UserFollowReq struct {
	Id int64 `json:"id" form:"id"`
}

type NumRelationsReq struct {
	Id int64 `json:"id" form:"id"`
}

type RelationsReq struct {
	Id int64 `json:"id" form:"id"`
}
